﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GoShopping.BLL
{
    internal class ProductManager_IMember:IMember
    {
        #region IMember 成员

        public void AddNewMember(System.Web.Security.MembershipUser member)
        {
            Databases.DBGoShopping.Insert(GoShoppingNBear.ProductManager).AddColumn(GoShoppingNBear.ProductManager.LoginName, member.UserName).Execute();
        }

        public void DeleteMember(string userName)
        {
            int b = Databases.DBGoShopping.Delete(GoShoppingNBear.ProductManager).Where(GoShoppingNBear.ProductManager.LoginName.Contains(userName)).Execute();
        }

        #endregion
    }
}
